<div class="in-lm-1">
    <ul class="in-public clearfix">
        <li class="child-push-2 news-child-push-2">
            <span>≡</span>
            <a href="#">全部分类</a>
            <!--二级分类-->
            <div class="mall-3-left">
                <ul>
                    <?php if(!empty($category)){ foreach($category as $k=>$v){?>
                    <li>
                        <a href="<?=url('index/goods/goodsList',['cat_id'=>$v['id']])?>"><span><?=$v['name']?></span></a>
                        <ul class="mall-3-left-1">
                            <!--
                            <li class="mall-3-left-1-1 clearfix">
                                <a href="#" class="clearfix"><span>品牌名称</span><strong></strong></a>
                                <a href="#" class="clearfix"><span>品牌名称</span><strong></strong></a>
                            </li>
                            -->
                            <?php if(!empty($v['children'])){ foreach($v['children'] as $k2=>$v2){?>
                            <li class="mall-3-left-1-2 clearfix">
                                <h2><a href="<?=url('index/goods/goodsList',['cat_id'=>$v2['id']])?>"><span><?=$v2['name']?></span></a></h2>
                                <div class="clearfix">
                                    <?php if(!empty($v2['children'])){ foreach($v2['children'] as $k3=>$v3){?>
                                    <a href="<?=url('index/goods/goodsList',['cat_id'=>$v3['id']])?>"><span><?=$v3['name']?></span></a>
                                    <?php }} ?>
                                </div>
                                <a href="#">更多</a>
                            </li>
                            <?php }} ?>
                        </ul>
                    </li>
                    <?php }} ?>

                </ul>
            </div>

            <!--二级分类结束-->
        </li>

        <li class="active-20">
            <a href="<?=url('index/index/index')?>">首页</a>
        </li>

        <li>
            <a href="<?=url('index/discount/index')?>">
                限时折扣
            </a>
        </li>
        <li>
            <a href="<?=url('index/shop/shop_list')?>">店铺列表</a>
        </li>
        <li>
            <a href="<?=url('index/integral/index')?>">积分中心</a>
        </li>
        <li>
            <a href="<?=url('index/member/index')?>">底盘号查询</a>
        </li>
    </ul>
</div>